﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.WebApi.PackageTool
{
    [Serializable]
    public class ModuleInfo : MarshalByRefObject
    {
        public bool HasError { get; set; }
        public string Name { get; set; }

        public string Assembly { get; set; }

        public string Type { get; set; }

        public string FilePath { get; set; }

        public List<RefInfo> Refs { get; private set; }

        public List<ActionInfo> Actions { get; private set; }

        public string ErrorMessage { get; set; }

        public ModuleInfo()
        {
            HasError = false;
            Refs = new List<RefInfo>();
            Actions = new List<ActionInfo>();
        }
    }
}
